package com.sxpi.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Author: 董伟豪
 * @Date: 2022/9/25 14:50
 */
@SpringBootApplication
// 在SpringAlibabaCloud这个注解已经默认自动开启了，但是在springCloud中必须要指定
@EnableDiscoveryClient
@MapperScan("com.sxpi.order.mapper")
// 开启lcn分布式事务注解
// @EnableDistributedTransaction
public class OrderWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderWebApplication.class,args);
    }
}
